<template>
  <template v-if="route.path.startsWith('/user')">
    <router-view></router-view>
  </template>
  <template v-else>
    <div id="app">
      <BasicLayout></BasicLayout>
    </div>
  </template>
</template>

<style></style>
<script setup>
import { useRoute, useRouter } from "vue-router";
import { useStore } from "vuex";
import ACCESS_EUNM from "@/access/ACCESS_EUNM";
import { onMounted } from "vue";

const route = useRoute();
const doInit = () => {
  console.log("welcome!!!");
};
onMounted(() => {
  doInit();
});
</script>
<script>
import BasicLayout from "@/layouts/BasicLayout.vue";

export default { components: { BasicLayout } };
</script>
